package com.zhangxi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * ClassName: DishPageQueryDTO
 * Package: com.zhangxi.dto
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "菜品分页查询相关接口")
public class DishPageQueryDTO implements Serializable {
    @ApiModelProperty("页码")
    private int page;
    @ApiModelProperty("每页的总记录数")
    private int pageSize;

    @ApiModelProperty("菜品名称")
    private String name;
    @ApiModelProperty("分类id")
    private Integer categoryId;
    @ApiModelProperty("状态")
//    0表示禁用 1表示启用
    private Integer status;
}
